package io.github.veigara.tcp.framework.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : zhouhx
 * @date : 2025/6/6 15:48
 */
@Data
@NoArgsConstructor
public class DeviceConnectionInfo {
    /**
     * 设备ID
     */
    private  String deviceId;
    /**
     * 服务器地址
     */
    private String serverAddress;
    /**
     * 连接时间
     */
    private Date connectTime;
    /**
     * 最后活动时间
     */
    private Date lastActiveTime;

    public DeviceConnectionInfo(String deviceId){
        this.deviceId = deviceId;
    }
}
